package com.cheng.example.atguigu.design_pattern.decorator;

import lombok.Data;

/*
 * @author 程帅
 * @createTime: 2020/10/17 18:01
 * @Created: with IntelliJ IDEA.
 */
@Data
public abstract class Drink {
    public String des; // 描述
    private float price = 0.0f;
    //计算费用的抽象方法
    //子类来实现
    public abstract float cost();
}
